package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 井盖管理对象 cover
 * 
 * @author ruoyi
 * @date 2023-07-04
 */
public class Cover extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty("id")
    private Long id;

    /** 井盖编号 */
    @ApiModelProperty("井盖编号")
    @Excel(name = "井盖编号")
    private String code;

    /** 所属地区 */
    @ApiModelProperty("所属区域")
    @Excel(name = "所属地区")
    private String region;

    /** 权属单位 */
    @ApiModelProperty("权属单位")
    @Excel(name = "权属单位")
    private String flats;

    /** 详细地址 */
    @ApiModelProperty("详细地址")
    @Excel(name = "详细地址")
    private String address;

    /** 井盖类型 */
    @ApiModelProperty("井盖类型")
    @Excel(name = "井盖类型")
    private String coverType;

    /** 井盖用途 */
    @ApiModelProperty("井盖用途")
    @Excel(name = "井盖用途")
    private String coverUsefor;

    private BigDecimal lat;

    private BigDecimal lng;

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }

    public BigDecimal getLng() {
        return lng;
    }

    public void setLng(BigDecimal lng) {
        this.lng = lng;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }
    public void setFlats(String flats) 
    {
        this.flats = flats;
    }

    public String getFlats() 
    {
        return flats;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCoverType(String coverType) 
    {
        this.coverType = coverType;
    }

    public String getCoverType() 
    {
        return coverType;
    }
    public void setCoverUsefor(String coverUsefor) 
    {
        this.coverUsefor = coverUsefor;
    }

    public String getCoverUsefor() 
    {
        return coverUsefor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("region", getRegion())
            .append("flats", getFlats())
            .append("address", getAddress())
            .append("coverType", getCoverType())
            .append("coverUsefor", getCoverUsefor())
            .toString();
    }
}
